﻿using BodaNetCommunications.Utilities.Attributes;

namespace BodaNetCommunications.Utilities.ComTypes
{
    public enum DeviceValueTypeEnum
    {
        [PlcDataTypeAttribute(typeof(bool))]
        @bit,

        [PlcDataTypeAttribute(typeof(bool))]
        @bool,

        [PlcDataTypeAttribute(typeof(short))]
        @short,

        [PlcDataTypeAttribute(typeof(ushort))]
        @ushort,

        [PlcDataTypeAttribute(typeof(int))]
        @int,

        [PlcDataTypeAttribute(typeof(uint))]
        @uint,

        [PlcDataTypeAttribute(typeof(long))]
        @long,

        [PlcDataTypeAttribute(typeof(ulong))]
        @ulong,

        [PlcDataTypeAttribute(typeof(float))]
        @float,

        [PlcDataTypeAttribute(typeof(double))]
        @double,

        [PlcDataTypeAttribute(typeof(string))]
        @string,

        [PlcDataTypeAttribute(typeof(short))]
        @word,

        [PlcDataTypeAttribute(typeof(int))]
        @dword,

        [PlcDataTypeAttribute(typeof(sbyte))]
        @sbyte,

        [PlcDataTypeAttribute(typeof(byte))]
        @byte,

        [PlcDataTypeAttribute(typeof(DateTime))]
        @datetime,

        [PlcDataTypeAttribute(null)]
        None
    }
}
